package com.youxin.busfoundation.enums;

/**
 * 日志服务器类型
 * @author yingde.cao
 *
 */
public enum LogFlagType {
	Production(0),
	PreProduction(1),
	Develop(2),
	TestLocal(3),
	TestPro(4),
	TestOther(5),
	;
	
	public int getValue() {
		return value;
	}
	
	private int value;
	
	private LogFlagType(int value) {
		this.value = value;
	}
	
	public static LogFlagType valueOf(int val)
	{			
		for(LogFlagType m : LogFlagType.values()) 
		{
			if(val==m.getValue())
				return m;
	    }
		return null;
	}
}
